package com.csun.cmny.provider.model.constant;

import lombok.Data;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-08-14 11:12
 * @Description: the class medic constant
 */
public class MedicConstant {

    /**
     * 用药计划流程Id
     */
    public static final String PROCESS_KEY_MEDIC_PLAN = "medicPlanProcess";

    /**
     * 用药记录流程Id
     */
    public static final String PROCESS_KEY_MEDIC_RECORD = "medicRecordProcess";

    /**
     * 用药计划 - 未提交
     */
    public static final int MEDIC_PLAN_STATE_COMMIT = 1;

    /**
     * 用药计划 - 申请中
     */
    public static final int MEDIC_PLAN_STATE_APPLY = 2;

    /**
     * 用药计划 - 不通过
     */
    public static final int MEDIC_PLAN_STATE_REFUSE = 3;

    /**
     * 用药计划 - 通过
     */
    public static final int MEDIC_PLAN_STATE_CONFIRM = 4;

    /**
     * 用药计划 - 家属签字
     */
    public static final int MEDIC_PLAN_STATE_SIGN = 5;

    /**
     * 用药记录 - 未提交
     */
    public static final int MEDIC_RECORD_STATE_COMMIT = 1;

    /**
     * 用药记录 - 申请中
     */
    public static final int MEDIC_RECORD_STATE_APPLY = 2;

    /**
     * 用药记录 - 喂药
     */
    public static final int MEDIC_RECORD_STATE_FEED = 3;

    /**
     * 用药记录 - 护工确认
     */
    public static final int MEDIC_RECORD_STATE_NURSING_CONFIRM = 4;

    /**
     * 用药记录 - 班长确认
     */
    public static final int MEDIC_RECORD_STATE_MONITOR_CONFIRM = 5;

    /**
     * 用药记录 - 喂药超时
     */
    public static final int MEDIC_RECORD_STATE_DELAY_FEED = 6;

    /**
     * 用药记录 - 护工确认超时
     */
    public static final int MEDIC_RECORD_STATE_DELAY_NURSING_CONFIRM = 7;

    /**
     * 用药记录 - 班长确认超时
     */
    public static final int MEDIC_RECORD_STATE_DELAY_MONITOR_CONFIRM = 8;

    /**
     * 用药记录 - 超时处理
     */
    public static final int MEDIC_RECORD_STATE_TIME_OUT = 9;

    /**
     * 用药计划开始事件
     */
    public static final String MEDIC_PLAN_EVENT_START = "medic_plan_event_start";

    /**
     * 用药计划结束事件
     */
    public static final String MEDIC_PLAN_EVENT_END = "medic_plan_event_end";

    /**
     * 用药计划任务 - 提交用药申请
     */
    public static final String MEDIC_PLAN_TASK_APPLY = "medic_plan_task_apply";

    /**
     * 用药计划任务 - 家属确认
     */
    public static final String MEDIC_PLAN_TASK_CONFIRM = "medic_plan_task_confirm";

    /**
     * 用药计划任务 - 家属签字
     */
    public static final String MEDIC_PLAN_TASK_SIGN = "medic_plan_task_sign";

    /**
     * 用药记录开始事件
     */
    public static final String MEDIC_RECORD_EVENT_START = "medic_record_event_start";

    /**
     * 用药记录结束事件
     */
    public static final String MEDIC_RECORD_EVENT_END = "medic_record_event_end";

    /**
     * 用药记录任务 - 班长发布计划
     */
    public static final String MEDIC_RECORD_TASK_APPLY = "medic_record_task_apply";

    /**
     * 用药记录任务 - 喂药
     */
    public static final String MEDIC_RECORD_TASK_FEED = "medic_record_task_feed";

    /**
     * 用药记录任务 - 护工确认
     */
    public static final String MEDIC_RECORD_TASK_NURSING_CONFIRM = "medic_record_task_nursing_confirm";

    /**
     * 用药记录任务 - 班长确认
     */
    public static final String MEDIC_RECORD_TASK_MONITOR_CONFIRM = "medic_record_task_monitor_confirm";

    /**
     * 用药记录任务 - 超时处理
     */
    public static final String MEDIC_RECORD_TASK_TIME_OUT = "medic_record_task_time_out";

    /**
     * 用药计划变量 - 用户Id
     */
    public static final String VAR_MEDIC_PLAN_USER_ID = "userId";

    /**
     * 用药计划变量 - msg
     */
    public static final String VAR_MEDIC_PLAN_MSG = "msg";

    /**
     * 用药计划变量 - 同意
     */
    public static final String VAR_MEDIC_PLAN_MSG_CONFIRM = "同意";

    /**
     * 用药计划变量 - 不同意
     */
    public static final String VAR_MEDIC_PLAN_MSG_REFUSE = "不同意";

    /**
     * 用药记录 - 用药开始
     */
    public static final String VAR_MEDIC_RECORD_START_MEDIC = "startMedic";

    /**
     * 用药记录 - 用药结束
     */
    public static final String VAR_MEDIC_RECORD_END_MEDIC = "endMedic";

    /**
     * 用药记录 - 护工组Id
     */
    public static final String VAR_MEDIC_RECORD_NURSING_GROUP_ID = "nursingGroupId";

    /**
     * 用药记录 - 护工
     */
    public static final String VAR_MEDIC_RECORD_NURSING = "nursing";

    /**
     * 用药记录 - 班长
     */
    public static final String VAR_MEDIC_RECORD_MONITOR = "monitor";

    /**
     * 审不批通过
     */
    public static final int MEDIC_PLAN_APRV_STATE_NO = 0;

    /**
     * 审批通过
     */
    public static final int MEDIC_PLAN_APRV_STATE_YES = 1;

    /**
     * 用药计划批注 - 家属同意
     */
    public static final String MEDIC_PLAN_COMMENT_CONFIRM = "家属同意";

    /**
     * 用药计划批注 - 家属不同意
     */
    public static final String MEDIC_PLAN_COMMENT_REFUSE = "家属不同意";

    /**
     * 用药计划批注 - 家属签字
     */
    public static final String MEDIC_PLAN_COMMENT_SIGN = "家属签字";

    /**
     * 用药计划批注 - 修改用药计划
     */
    public static final String MEDIC_PLAN_COMMENT_MODIFY = "修改用药计划";

    /**
     * 用药记录批注 - 用药计划发布
     */
    public static final String MEDIC_RECORD_COMMENT_APPLY = "用药计划发布";

    /**
     * 用药记录批注 - 护工喂药
     */
    public static final String MEDIC_RECORD_COMMENT_FEED = "护工喂药";

    /**
     * 用药记录批注 - 喂药超时
     */
    public static final String MEDIC_RECORD_COMMENT_FEED_DELAY = "喂药超时";

    /**
     * 用药记录批注 - 喂药超时补签
     */
    public static final String MEDIC_RECORD_COMMENT_FEED_DELAY_SIGN = "喂药超时补签";

    /**
     * 用药记录批注 - 护工确认喂药
     */
    public static final String MEDIC_RECORD_COMMENT_NURSING_CONFIRM = "护工确认";

    /**
     * 用药记录批注 - 护工确认超时
     */
    public static final String MEDIC_RECORD_COMMENT_NURSING_CONFIRM_DELAY = "护工确认超时";

    /**
     * 用药记录批注 - 护工确认超时补签
     */
    public static final String MEDIC_RECORD_COMMENT_NURSING_CONFIRM_DELAY_SIGN = "护工确认超时补签";

    /**
     * 用药记录批注 - 班长确认喂药
     */
    public static final String MEDIC_RECORD_COMMENT_MONITOR_CONFIRM = "班长确认";

    /**
     * 用药记录批注 - 班长确认超时
     */
    public static final String MEDIC_RECORD_COMMENT_MONITOR_CONFIRM_DELAY = "班长确认超时";

    /**
     * 用药记录批注 - 班长确认超时补签
     */
    public static final String MEDIC_RECORD_COMMENT_MONITOR_CONFIRM_DELAY_SIGN = "班长确认超时补签";


    public static final int MEDIC_INDEX_HOUR = 7;

    public static final int MEDIC_HOUR_DAY = 12;
}
